<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

<<<<<<< HEAD
Route::get('/', function () {
    return view('welcome');
});

//测试路由
Route::controller('/admin/test','main\MainController');


//前台商品路由
Route::controller('commodity','home\GoodsController');


// 前台商品详情路由
Route::controller('/goods','home\GoodsDatalistController');


// 前台商品搜索路由
Route::controller('/search','home\GoodsSearchController');


// 购物车控制器
Route::controller('/shopCar','ShopCar\ShopCarController');
=======
// 前台主页路由
Route::get('/', 'home\WelcomeController@index');
// 注册路由
Route::controller('/home/register','home\RegisterController');
// 登录路由
Route::controller('/home/login','home\LoginController');
// 验证码路由
Route::get('/code','CodeController@index');
// 轮播图路由
Route::controller('/admin/photo','admin\PhotoController');
// 后台积分路由
Route::controller('/admin/integral','admin\IntegralController');
// 前台积分路由
Route::controller('/home/integral','home\IntegralController');
















>>>>>>> b1990139fd74a207cbbfdc7c165186e9f38d0e5d




<<<<<<< HEAD
// 会员管理路由
Route::controller('/admin/users', 'admin\UsersController');
// 友情链接路由
Route::controller('/admin/fris', 'admin\FrisController');
// 后台管理员路由
Route::controller('/admin/admin', 'admin\AdminController');
=======
>>>>>>> b1990139fd74a207cbbfdc7c165186e9f38d0e5d






<<<<<<< HEAD
// 后台管理
Route::controller('/admin/login','admin\AdminController');


// 后台商品分类管理路由
Route::controller('/admin/goods','goods\GoodsController');


// 后台商品配置管理路由
Route::controller('/admin/commodity/config','commodity\GoodsConfigController');


// 后台商品管理路由
Route::controller('/admin/commodity','commodity\GoodsController');


// 后台商品详情管理路由
Route::controller('/admin/datalist','commodity\GoodsDatalistController');


// 后台商品库存信息控制器
Route::controller('/admin/inventory','commodity\InventoryController');
=======










>>>>>>> b1990139fd74a207cbbfdc7c165186e9f38d0e5d








































<<<<<<< HEAD
=======
// 后台登陆路由
Route::controller('/admin/login', 'admin\LoginController');
// 会员管理路由
Route::controller('/admin/users', 'admin\UsersController');
// 友情链接路由
Route::controller('/admin/fris', 'admin\FrisController');
// 后台管理员路由
Route::controller('/admin/admin', 'admin\AdminController');
// 网站配置路由
Route::controller('/admin/config', 'admin\ConfigController');
// 角色管理路由
Route::controller('/admin/roles', 'admin\RolesController');
// 操作管理路由
Route::controller('/admin/operation', 'admin\OperationController');
// 前台个人中心
Route::controller('/home/user_details', 'home\UserDedailsController');
// 前台商品评论
Route::controller('/home/goods_comment', 'home\GoodCommentController');
// 前台友情链接
Route::controller('/home/fris', 'home\FrisController');
// 后台商品评论
Route::controller('/admin/goods_comment', 'admin\GoodCommentController');


>>>>>>> b1990139fd74a207cbbfdc7c165186e9f38d0e5d

















































































































































<<<<<<< HEAD
=======
// 后台商品分类管理路由
Route::controller('/admin/goods','goods\GoodsController');

// 后台商品配置管理路由
Route::controller('/admin/commodity','commodity\GoodsConfigController');

// 验证码路由
Route::get('/code','CodeController@index');



>>>>>>> b1990139fd74a207cbbfdc7c165186e9f38d0e5d









































<<<<<<< HEAD
//后台公告
Route::controller('admin/notice','admin\NoticeController');
//后台收货物地址
Route::controller('admin/address','admin\AddressController');
//前台收货页面
Route::controller('/home/shopaddr','admin\AddressController');
//订单管理后台
Route::controller('admin/order','admin\OrderController');
//提交页面
Route::controller('home/pay','admin\PayController');
//精品推荐
Route::controller('admin/boutique','admin\BoutiqueController');
//前台订单管理
Route::controller('home/qtorder','admin\QtorderController');
//前台提交成功
Route::controller('home/success','admin\SuccessController');
=======
>>>>>>> b1990139fd74a207cbbfdc7c165186e9f38d0e5d





